package service;

import java.util.List;

import imageUtil.Page;
import model.Bill;

public interface BillService {

	public int findByCount(String vendorName) throws Exception;
	
	public int findCount(String vendorName,String whetherToPay) throws Exception;

	public List<Bill> findByAll(Page page,String name) throws Exception;
	
	public List<Bill> findAll(Page page,String name,String whetherToPay) throws Exception;
	
	public boolean updateBill(Bill bill) throws Exception;
	
	public boolean saveBill(Bill bill) throws Exception;
	
}
